package com.songqi.common.security.model;

import io.swagger.annotations.ApiModelProperty;

import lombok.Data;

/**
 * @description:
 * @author: songqi(13776346982)
 * @date: 2022/6/29 22:48
 */
@Data
public class JwtTokenPair {

    @ApiModelProperty("访问token")
    private String accessToken;

    @ApiModelProperty("刷新token")
    private String refreshToken;

    public JwtTokenPair(String accessToken, String refreshToken){
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
    }
}
